<div class="macservicetypes view">
<h2><?php  __('Macservicetype');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $macservicetype['Macservicetype']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Name'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $macservicetype['Macservicetype']['name']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Reportname'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $macservicetype['Macservicetype']['reportname']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Service'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $macservicetype['Macservicetype']['service']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Macservicetype', true), array('action' => 'edit', $macservicetype['Macservicetype']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Macservicetype', true), array('action' => 'delete', $macservicetype['Macservicetype']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $macservicetype['Macservicetype']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Macservicetypes', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Macservicetype', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Macs', true), array('controller' => 'macs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Mac', true), array('controller' => 'macs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Projectshasmacservicetypes', true), array('controller' => 'projectshasmacservicetypes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Projectshasmacservicetype', true), array('controller' => 'projectshasmacservicetypes', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Macs');?></h3>
	<?php if (!empty($macservicetype['Mac'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Mac'); ?></th>
		<th><?php __('Mactype Id'); ?></th>
		<th><?php __('Status Id'); ?></th>
		<th><?php __('Macservicetype Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($macservicetype['Mac'] as $mac):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $mac['id'];?></td>
			<td><?php echo $mac['mac'];?></td>
			<td><?php echo $mac['mactype_id'];?></td>
			<td><?php echo $mac['status_id'];?></td>
			<td><?php echo $mac['macservicetype_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'macs', 'action' => 'view', $mac['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'macs', 'action' => 'edit', $mac['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'macs', 'action' => 'delete', $mac['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $mac['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Mac', true), array('controller' => 'macs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Projectshasmacservicetypes');?></h3>
	<?php if (!empty($macservicetype['Projectshasmacservicetype'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Project Id'); ?></th>
		<th><?php __('Macservicetype Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($macservicetype['Projectshasmacservicetype'] as $projectshasmacservicetype):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $projectshasmacservicetype['id'];?></td>
			<td><?php echo $projectshasmacservicetype['project_id'];?></td>
			<td><?php echo $projectshasmacservicetype['macservicetype_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'projectshasmacservicetypes', 'action' => 'view', $projectshasmacservicetype['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'projectshasmacservicetypes', 'action' => 'edit', $projectshasmacservicetype['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'projectshasmacservicetypes', 'action' => 'delete', $projectshasmacservicetype['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $projectshasmacservicetype['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Projectshasmacservicetype', true), array('controller' => 'projectshasmacservicetypes', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
